package domain;

/**
 * @Author: ylc
 * @Description:
 * @Date Created in 2022-04-19 11:19
 */
public class Person {
    private String a;
    public String b;
    public String c;

    public Person() {
    }

    public Person(String b) {
        this.b = b;
    }

    public String getA() {
        return a;
    }

    public void setA(String a) {
        this.a = a;
    }
    public void eat(){
        System.out.println("eat......");
    }
    public void eat(String food){
        System.out.println("eat " + food);
    }

    @Override
    public String toString() {
        return "Person{" +
                "a='" + a + '\'' +
                ", b='" + b + '\'' +
                ", c='" + c + '\'' +
                '}';
    }
}
